package com.atom.module.coroutine.test


import com.atom.module.coroutine.core.*
import com.atom.module.coroutine.core.launch
import com.atom.module.coroutine.scope.GlobalScope
import com.atom.module.coroutine.utils.log


fun main(args: Array<String>) = runBlocking {
    log(1)
    val job = launch {
        log(1)
        delay(1000L)
        log(2)
    }
    log(2)
    job.join()
    log(3)
}